package org.hnxxxy.ebms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.hnxxxy.ebms.common.Result;
import org.hnxxxy.ebms.pojo.RecruitStu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WANGWEI
 * @since 2021-06-10
 */
public interface RecruitStuService extends IService<RecruitStu> {

    /**
     * 查询所属地区招生学生信息
     * @return
     */
    Result<IPage<RecruitStu>> getRecStus(int page);

    Result<String> add(RecruitStu recruitStu);

    Result<IPage<RecruitStu>> getRecStusByName(String name,int page);
}
